<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Vue.js 源代码学习</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../../libs/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" rel="stylesheet">
    <link href="../../libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="../../libs/vue/2.5.13/vue.min.js"></script>
    <script src="../../libs/vue-router/3.0.1/vue-router.js"></script>
    <script src="../../libs/jquery/3.2.1/jquery.slim.min.js"></script>
    <script src="../../libs/propper.js/1.13.0/umd/popper.min.js"></script>
    <style>
        .active {
            width: 100px;
            height: 100px;
            background: green;
        }
    </style>
    <script>
        var emptyObject = Object.freeze({});
        console.log(emptyObject);

        
    /**
     * Get the raw type string of a value e.g. [object Object]
     */
    var _toString = Object.prototype.toString;

    function toRawType(value) {
        return _toString.call(value).slice(8, -1)
    }

    console.log(toRawType('a'))

    </script>
    
</head>
<body>
    

        <div id="app">
                <runoob></runoob>
            </div>
             
            <script>
            // 注册
            Vue.component('runoob', {
              template: '<h1>自定义组件!</h1>'
            })
            // 创建根实例
            new Vue({
              el: '#app'
            })
            </script>
            
      
</body>
<script src="../../libs/bootstrap/4.0.0-beta.3/bootstrap.min.js"></script>
</html>